package com.dongnao.jack.spring.parse;

import org.springframework.beans.factory.xml.NamespaceHandlerSupport;

public class SOANamespaceHandler extends NamespaceHandlerSupport {

    @Override
    public void init() {

        registerBeanDefinitionParser("registry", BeanDefinitionParserFactory.builderParser("registry"));
        registerBeanDefinitionParser("reference", BeanDefinitionParserFactory.builderParser("reference"));
        registerBeanDefinitionParser("protocol", BeanDefinitionParserFactory.builderParser("protocol"));
        registerBeanDefinitionParser("service", BeanDefinitionParserFactory.builderParser("service"));

    }

}
